package com.data.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: rpt_leave_emp
 * @Author: data-boot
 * @Date:   2022-04-02
 * @Version: V1.0
 */
@Data
@TableName("rpt_leave_emp")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="rpt_leave_emp对象", description="rpt_leave_emp")
public class RptLeaveEmp implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Integer id;
	/**劳动者姓名*/
	@Excel(name = "劳动者姓名", width = 15)
    @ApiModelProperty(value = "劳动者姓名")
    private String customerName;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String mobile;
	/**身份证ID*/
	@Excel(name = "身份证ID", width = 15)
    @ApiModelProperty(value = "身份证ID")
    private String idCard;
	/**上岗时间*/
	@Excel(name = "上岗时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "上岗时间")
    private Date workTime;
	/**离职时间*/
	@Excel(name = "离职时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "离职时间")
    private Date leaveTime;
	/**首单日期*/
	@Excel(name = "首单日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "首单日期")
    private Date firstTime;
	/**跑单天数*/
	@Excel(name = "跑单天数", width = 15)
    @ApiModelProperty(value = "跑单天数")
    private String runNum;
	/**客户状态 100 正常 200删除*/
	@Excel(name = "客户状态 100 正常 200删除", width = 15)
    @ApiModelProperty(value = "客户状态 100 正常 200删除")
    private Integer status;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
}
